@media screen and (min-width: 1280px) {
    .container {
        width: 1280px;
    }
}

* {
    padding: 0;
    margin: 0;
}

ul {
    list-style: none;
}

body {
    background: #f5f5f5;
}

.container {
    background: #fff;
}


/* .container {
    background: #999;
} */

header {
    padding-left: 0 !important;
}

.logo {
    background: #429ad9;
}

.logo img {
    display: block;
    /* width: 100%; */
    /* 可以实现图片不缩放 */
    max-width: 100%;
    margin: 0 auto;
}

.logo span {
    line-height: 46px;
    display: block;
    text-align: center;
    color: white;
    font-size: 16px;
}

.nav {
    background: #eee;
    border-bottom: 1px solid #ccc;
}

.nav li a {
    color: #666;
    line-height: 50px;
    padding: 0 0 0 30px;
    font-size: 16px;
}

@media screen and (max-width: 991px) {
    .nav li {
        float: left;
        width: 20%;
    }
    article {
        margin-top: 10px;
    }
}

@media screen and (max-width: 767px) {
    .nav li a {
        padding-left: 10px;
        font-size: 14px;
    }
    .news li:first-child {
        width: 100% !important;
    }
    .news li:nth-child(n+2) {
        width: 50% !important;
    }
}

.nav li a:hover {
    color: #333;
    background: #fff;
}

.nav a::before {
    vertical-align: middle;
    padding-right: 5px;
}

.news li {
    width: 25%;
    float: left;
    height: 128px;
    padding-right: 10px;
    margin-bottom: 10px;
}

.news a {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.news img {
    width: 100%;
    height: 100%;
}

.news p {
    position: absolute;
    margin-bottom: 0;
    bottom: 0;
    width: 100%;
    padding: 4px 8px;
    font-size: 12px;
    margin-right: 10px;
    color: white;
    background: rgba(0, 0, 0, .5);
}

.news li:first-child {
    width: 50%;
    height: 266px;
}

.news li:first-child p {
    padding: 8px;
    font-size: 20px;
}

.publish .row {
    border-top: 1px solid #ccc;
}

.publish .pic {
    margin: 10px 0;
}

.publish .pic img {
    width: 100%;
}

.banner img {
    width: 100%;
}

.hot {
    border: 1px solid #ccc;
    display: block;
    margin-top: 20px;
    padding: 0 20px 20px 20px;
    color: #666;
}

.hot p {
    font-size: 12px;
}

.hot:hover {
    text-decoration: none;
}

.hot span {
    border-radius: 0;
    margin-bottom: 20px;
}